package com.example.communist_app_api.db.pojoDto;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * <h4>community-uniapp</h4>
 * <p></p>
 *
 * @author : Lowell
 * @date : 2023-01-15 00:06
 **/

@Document(collection = "notice_ref")
@Data
public class NoticeRefEntity implements Serializable {

    @Id
    private String _id;

    @Indexed
    private String noticeId;


    @Indexed
    private Integer receiverId;


    @Indexed
    private Boolean readFlag;

    @Indexed
    private Boolean lastFlag;

}
